package leetcode.D900.T889;

import util.ListUtil;
import util.TreeNode;
import util.TreeUtil;

/**
 * @File Info: leetcode -- <M889>
 * @Author: 18362
 * @Create: 2022-03-15 16:40:16 星期二
 */
public class M889 {
    public static void main(String[] args) {
        int[] preorder = ListUtil.parseIntArray("[1,2,4,5,3,6,7]");
        int[] postorder = ListUtil.parseIntArray("[4,5,2,6,7,3,1]");
        TreeNode root = new Solution().constructFromPrePost(preorder, postorder);
        TreeUtil.printLevel(root);
    }
}
